﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HalconDotNet;
namespace HalconAssit
{
    public partial class View_3D : Form
    {
        HTuple obj;
        HTuple name;
        string color;
        public View_3D(HTuple obj_3d, string varname, string color)
        {
            this.Text = varname;
            InitializeComponent();
            obj = obj_3d;
            name = varname;
            this.color = color;
        }

        private void _3DView_Load(object sender, EventArgs e)
        {

        }

        private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
        {
            new Display3DHelper().Display(this.hWindowControl1.HalconWindow, obj, name, color);
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}
